<?php
/**
* HamWidget - class cấu hình chung cho các widget
*/
class HamWidget extends CWidget {
	// Variables
	public $current_user = null;
	 
	public function init(){
		parent::init();
		$user_obj = Yii::app()->user->getState('current_user');
		if(is_object($user_obj)){
			$this->current_user = $user_obj;
		}
	}
}
?>